package com.chaoXing.work3.work_3_2;

public class Test {
    private Consumption consumption;

    public Test(Consumption consumption) {
        this.consumption = consumption;
    }

    public double sum(double moeny){
        return moeny;
    }

    @Override
    public String toString() {
        return consumption.toString();
    }
}
